package com.star.uc.infras.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里巴巴配置
 *
 * @author zhouhengzhe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "star.alibaba")
@Component
public class AlibabaProperties {

    private OneClickProperties oneClick;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class OneClickProperties {
        private String accessKeyId;
        private String accessKeySecret;
    }
}